//
//  RSSPercistenceService.h
//  tv3rss
//
//  Created by Job Search on 04/08/14.
//  Copyright (c) 2014 responsfabrikken. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface RSSPersistenceService : NSObject



    @property (strong, nonatomic) NSManagedObjectContext    *managedObjectContext;

    @property (nonatomic, retain) NSMutableArray            *itemList;




    +(RSSPersistenceService *)  initRSSPersistenceService:  (NSManagedObjectContext *)  managedObjectCotext;

    -(NSMutableArray *)         fetchRSSItemsFromDB;

    -(void)                     saveRSSItemsToDB:           (NSMutableArray *)          items;

    -(void)                     clearRSSItemsFromDB;

@end
